/**
 * Created with IntelliJ IDEA.
 * Description:
 * user:likai
 * Date:2022-09-16
 * Time:9:01
 */
class SameStudent{
    String name;
    int age=15;
    int height=160;
    float weight=50.0f;
    public void strengths(){
        System.out.println("wu");
    }
}
class XiaoMing extends SameStudent{

    public void strengths(){
        System.out.println("KongFu");
    }
}
class XiaoHong extends SameStudent{
    int age=18;
    float height=160.0f;
    public void xh(){
        System.out.println(height);
        System.out.println(weight);
        System.out.println(super.age);
        System.out.println(age);
        System.out.println("youyong");
    }
}
public class Student {
    public static void main(String[] args) {
        XiaoMing xiaoMing=new XiaoMing();
        //System.out.println(xiaoMing);
        //XiaoHong xiaoHong=new XiaoHong();
        //xiaoHong.xh();
        xiaoMing.strengths();
    }
}

